home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / userbox / publicdomain / dunderdir / docs / opt.doc < prev    next >
Text File  |  1996-04-30  |  2KB  |  70 lines

  1.  
  2.  
  3.  
  4.                       Opt 1.00
  5.                       FreeWare
  6.  
  7.               Opt © 1995 Jimmie Matsson.
  8.               Not for commersial usage.
  9.  
  10.  
  11. OPT:
  12.  This is a small program you can put in your C: drawer(if you
  13.  use DD of cource). If you use the DDOpts variable(who don't??)
  14.  this program can help you a lot. First you got to make sure
  15.  the DDOpts exists, you can do that with Set or SetEnv.
  16.  
  17.  Then sometimes you might want to add to delete an option from
  18.  the varible. That is not to hard, you just reset the variable
  19.  and everything is ok... well yes, but with Opt and you want to
  20.  add an option you just type like.. Opt H
  21.  and the option H will be added to the DDOpts var :)
  22.  
  23.  Then to remove it you just type like... Opt H rem
  24.  and the H opt is in computer heaven ;)
  25.  
  26.  Of cource you can type more then one option, actually you can type
  27.  almost as many as you want to. The limit is 150 character, but that
  28.  will be enough i suspect. You can add like this
  29.  
  30.   1. Opt -h -H -i -C
  31.   2. Opt -hHiC
  32.   3. Opt hHiC
  33.   4. Opt h H i C
  34.  
  35.  Add the REM option and it will delete the options instead
  36.  of adding them ;)
  37.  
  38.  Opt adds/deletes options from the first DDOpts var it can find???
  39.  Meaning it first looks for a local var and if no one is found, it
  40.  will look for a global one and then do what it is supposed to do.
  41.  So if both a global and local exist, onley the local will be changed.
  42.  But if onley the global one existed, thats the one to be changed.
  43.  And if DDOpt is not set, nothing will happen(more then a errormessage).
  44.  
  45.  But you can add one of the parameters LOCAL or GLOBAL, if so then
  46.  onley the one you specifyed will be tested. Ex. Opt H global
  47.  then if you got a local DDOpts, it will never be touched. But the
  48.  global one(if existed) will have got a new option.
  49.  
  50.  The parameters is
  51.    OPTS=OPTIONS/A : The options to add
  52.    REM=REMOVE/S   : If used, the options will be deleted instead
  53.    LOCAL/S        : Make no changes to the global in no local existed
  54.    GLOBAL/S       : Make no changes to the local if no global existed
  55.  
  56.  
  57.   The sources that follows is programed in AmigaE. If you are a
  58.   don't got this language i just want to say to you:
  59.   GEEEEEEEEEEET IIIIIIIT!!!!!!!!  It's very great =)
  60.  
  61.    If you want to contact me for some reason because of this great
  62.    and small program you can get my address in the DunderDir.Guide.
  63.    Please write that it's this program you want to ask something
  64.    or make a comment about.
  65.  
  66.  
  67.             That's all folks!
  68.               Jimmie Matsson
  69.  
  70.